<h2>New Account Registration</h2>
<div id="generic_fields">
<?php
echo $form->create('Person', array('action' => 'register'));
echo $form->input('first_name');
echo $form->input('last_name');
echo $form->input('username', array('label' => 'E-Mail Address'));

// Funkiness is so we can do validation on the password confirm field as it isn't hashed
echo $form->input('password_confirm', array('type' => 'password', 'label' => 'Password')).' (Must be at least 5 characters long)';
echo $form->input('password', array('type' => 'password', 'label' => 'Password Confirm'));

echo $form->submit();
echo $form->end();
?>
</div>